Githuber\Controller\Markdown D

Total Complexity 199
Dependencies 12
Dependents 1
Total lines 1,220
Lines of code 667
Logical lines of code 405
Comment lines 329
Methods 43
Properties 16

Methods 43

Method Rating Maintainability Complexity Lines of code
detect_code_languages()
D
34 32 88
init()
B
37 23 68
wp_insert_post_data()
A
44 16 40
__construct()
A
48 12 35
admin_enqueue_scripts()
A
39 9 64
transform()
A
47 9 35
load_markdown()
S
54 5 21
prime_post_cache()
S
56 5 18
maybe_load_actions_and_filters()
S
60 5 15
wp_insert_post()
S
59 5 14
is_md_enabled()
S
60 5 14
admin_githuber_markdown_this_post()
S
51 4 28
xmlrpc_actions()
S
62 5 12
edit_post_content_filtered()
S
65 5 9
check_for_early_methods()
S
60 4 12
admin_init()
S
61 4 11
unload_markdown()
S
56 3 18
is_convert_remote_image()
S
66 4 8
the_posts()
S
63 4 10
edit_post_content()
S
64 4 10
get_parser()
S
62 3 11
jetpack_code_snippets()
S
69 3 6
maybe_unload_for_bulk_edit()
S
72 3 5
has_markdown()
S
66 3 9
add_meta_box()
S
61 2 13
wp_restore_post_revision()
S
61 2 12
uncache_munged_posts()
S
73 2 5
convert_remote_image()
S
72 2 6
admin_githuber_disable_jetpack_markdown()
S
68 2 7
show_meta_box()
S
62 1 11
sanitize_setting()
S
81 1 3
fix_issue_209()
S
75 1 4
restore_code_blocks()
S
76 1 4
preserve_code_blocks()
S
80 1 3
admin_init_meta_box()
S
91 1 2
make_filterable()
S
74 1 4
_wp_post_revision_fields()
S
75 1 4
pre_comment_content()
S
73 1 5
admin_enqueue_styles()
S
78 1 3
comment_hash()
S
78 1 3
set_as_markdown()
S
78 1 3
fix_latest_revision_on_restore()
S
70 1 6
swap_for_editing()
S
67 1 8